package com.anhry.app.safety.util;


/**
 * 2012-04-08
 * remark: 公用变量
 * author: anhry
 *
 */
public class Util {
	
	private static Environment env = Environment.getInstance();
	
	public static final String DEPT_CODE = "140800";//系统使用地区，该地区的行政区划代码
	
	public static final String SKIN = "/skin/blue1";//后台样式控制
	
	public static final String SUPER_PWD = "C73CC44BAF04CF232FEC627C04E43968";
	
	public static final String DIALOG_SKIN = "skin=iblue";
	/**
	 * 邮件附件文件夹
	 */
	public static final String MAIL_FOLDER = "mail_folder";

	/**
	 * 全部部门列表
	 */
	public static final String ALL_DEPT_LIST = "allDeptList";
	
	/**
	 * 用户级别列表
	 */
	public static final String USER_GRADE_LIST = "user_grade_list";
	
	/**
	 * 全部企业类型列表
	 */
	public static final String ALL_CORP_TYPE = "allCorpType";
	
	/**
	 * 企业类型大类列表
	 */
	public static final String MAX_CORP_TYPE = "maxCorpType";
	
	/**
	 * 属地部门列表
	 */
	public static final String SD_DEPT_LIST = "sdDeptList";
	
	/**
	 * 县(市、区)、开发区属地部门列表（指的是该市下所有的县(市、区)、开发区列表）
	 */
	public static final String QU_DEPT_LIST = "quDeptList";
	
	/**
	 * 行业监管部门列表
	 */
	public static final String HY_DEPT_LIST = "hyDeptList";
	
	/**
	 * 弹出窗口样式
	 */
	public static final String LHGDIALOG = "?self=true&skin=iblue";
	
	/**
	 * 管理用户
	 */
	public static final String SESSION_ADMINUSER = "adminuser";

	/**
	 * 管理用户菜单权限
	 */
	public static final String SESSION_FUNCTION = "admin_function";

	/**
	 * 主菜单
	 */
	public static final String SESSION_MAINMENU = "main_menu";
	
	/**
	 * 数据不存在提示句
	 */
	public static final String NOTIP = "你所操作的数据不存在！";
	
	
	public static final String ALLOWTYPES = "image/bmp,image/png,image/gif,image/pjpeg,image/pjpg,image/jpg,image/jpeg,image/JPG,image/GIF,image/PJPG,image/PJPEG,image/PNG,image/BMP";
	
	/**
	 * 图片附件系统的域名（注：根据实际情况进行修改）
	 */
    //public static final String FILE_PATH = "http://localhost:8080/ycFile";
	public static final String FILE_PATH = env.getProperty("upload.pic.base.url");
	
	/**
	 * 附件存储的系统
	 */
	//public static final String SAFETY_FILE = ServletActionContext.getServletContext().getRealPath("").replace("ycCorp", "")+"ycFile";//地址
	public static final String SAFETY_FILE = env.getProperty("upload.files.base.path");//地址
	
	public static final String EDITOR_BASE_URL = env.getProperty("ewebeditor.base.url");
	/**
	 * 附件存储的文件夹
	 */
	public static final String FILE_FOLDER = "uploadfile";
	
	/**
	 * 企业图片存储文件夹
	 */
	public static final String CORP = "corp";
	
	/**
	 * 协同办公 邮件管理 附件目录 邮件
	 */
	public static final String OA_Mail = "oamail";
	
	/**
	 * 协同办公 邮件管理 附件目录 消息
	 */
	public static final String OA_Notice = "oanotice";
	
	/**
	 * 公告通知 在线帮助 附件目录
	 */
	public static final String OA_MSG = "oamsg";
	
	public static final String ZCZB_STANDARD = "zczb_standard";//自查标准
	
	public static final String ZCZB = "zczb";//隐患附件
	
	public static final String ZCZB_CHECK = "zczb_check";//核查附件
	
	//分级自查标准
	public static final String DJPD_STANDARD = "fjpd_standard";
}
